package com.aifast.system.sys.entity;

import com.aifast.common.base.BaseEntity;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 字典类别
 * </p>
 *
 * @author fujian
 * @since 2021-12-29
 */
@EqualsAndHashCode(callSuper = true)
@Data
@Accessors(chain = true)
@TableName("sys_dict")
public class SysDict extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 名称
     */
    private String name;

    /**
     * 代码
     */
    private String code;

    /**
     * 排序
     */
    private Integer sort;

    /**
     * 状态
     */
    private Integer state;

    /**
     * 层级模式 默认0普通表格  1是多层级 树形表格
     */
    private Integer mode;

    /**
     * 备注
     */
    private String remarks;

    private Integer tenantId;


}
